﻿<UserControl x:Class="FM.播音.设置.Views.状态栏"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:viewModels="clr-namespace:FM.播音.设置.ViewModels"
             FontSize="14"
             d:DataContext="{d:DesignInstance Type=viewModels:状态栏ViewModel}"
             d:DesignHeight="100"
             d:DesignWidth="600"
             mc:Ignorable="d">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/FM.播音.设置;component/Themes/Generic.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <StatusBar>
            <StatusBarItem DataContext="{Binding 提示}">
                <StackPanel Margin="0" Orientation="Horizontal">
                    <TextBlock Style="{StaticResource 任务栏标签Style}" Text="提示" />
                    <TextBlock Margin="2,0" Text="{Binding Path=数据}" />
                </StackPanel>
            </StatusBarItem>
            <StatusBarItem DataContext="{Binding 网络}">
                <StackPanel Margin="0" Orientation="Horizontal">

                    <TextBlock Style="{StaticResource 任务栏标签Style}" Text="网络" />
                    <TextBlock Margin="2,0" Text="{Binding Path=数据}" />
                </StackPanel>
            </StatusBarItem>

            <StatusBarItem DataContext="{Binding 数据库}">
                <StackPanel Margin="0" Orientation="Horizontal">
                    <TextBlock Style="{StaticResource 任务栏标签Style}" Text="数据库" />
                    <TextBlock Margin="2,0" Text="{Binding Path=数据}" />
                </StackPanel>
            </StatusBarItem>



        </StatusBar>
    </Grid>
</UserControl>

